import polars as pl
# 本地数据
from example_data import Example_Data_1
df = pl.DataFrame(Example_Data_1)

# 获取行,列
print(df[1,"age"])
'''
30
'''

print(df[1:3,["name","age",]])
'''
shape: (2, 2)
┌─────────┬─────┐
│ name    ┆ age │
│ ---     ┆ --- │
│ str     ┆ i64 │
╞═════════╪═════╡
│ Bob     ┆ 30  │
│ Charlie ┆ 35  │
└─────────┴─────┘
'''